﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportGovrenApplyList.aspx.cs"
    Inherits="BOH.Information.Report.ReportGovrenApplyList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../../js/common.js" type="text/javascript"></script>
    <style>
               tr
            {
            	height:23px;
            	vertical-align:middle;
            }
            .divPrintShow
            {
            	display: none;
            }
    </style>
    <style media="print">
    .divPrint
    {
        display: none;
    }
    .divPrintShow
    {
    	display:block;
    }
</style>
    <script>
        function ShowReportPager() {
            var GovrenID = $("#<%=hiddenGovrenID.ClientID%>").val();
            var ApplyPeriod = $("#<%=hiddenApplyPeriod.ClientID%>").val();
            window.open("printGovrenListReport.aspx?GovrenID=" + GovrenID + "&ApplyPeriod=" + ApplyPeriod, "打印报表", "resizable=no,toolbar=no,height=50,width=150,top=100,left=150,scrollbars=no,location=no");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="PersonalReportTitle">
        <h2>
            <asp:label ID="labApplyPeriodTitle" runat="server"></asp:label>上海市卫生系列高级专业技术职务任职资格评审申报人员名单</h2>
    </div>
    <div style="text-align: center;">
        <h4>
            主管局名称：<asp:Label ID="labGovernName" runat="server"></asp:Label></h4>
    </div>
    <div>
        <center>
            <asp:GridView ID="GovernList" runat="server" AutoGenerateColumns="false"
                CssClass="TableReport" AllowPaging="false" PageSize="2" 
                onrowcreated="GovernList_RowCreated">
                <Columns>
                    <asp:TemplateField HeaderText="流水号" HeaderStyle-Width="30px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("NO")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="单位名称" HeaderStyle-Width="215px" HeaderStyle-HorizontalAlign="left">
                        <ItemStyle HorizontalAlign="Left" />
                        <ItemTemplate>
                            <span>
                                <%# Eval("UnitGovernName")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="姓  名" HeaderStyle-Width="60px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("ApplyName")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="性别" HeaderStyle-Width="35px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("Gender")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="出生年月" HeaderStyle-Width="60px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("Birthday")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="学   历" HeaderStyle-Width="50px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("EducationLevel")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="毕业年月" HeaderStyle-Width="60px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("GraduationDate")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="现任职称" HeaderStyle-Width="110px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("CurrentJobRank")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="取得时间" HeaderStyle-Width="60px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("JobDate")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="聘用年限" HeaderStyle-Width="30px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("JobTerm")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报专业" HeaderStyle-Width="180px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("SpecialityID")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报职称" HeaderStyle-Width="100px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("JobRankID")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报类型" HeaderStyle-Width="30px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("ApplyType")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="单位政治考核" HeaderStyle-Width="30px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("PoliticsResult")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="单位业务考核" HeaderStyle-Width="30px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("JobResult")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="外语名称" HeaderStyle-Width="50px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("ForeignLanguageName")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="外语成绩" HeaderStyle-Width="30px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("ForeignLanguageResult")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="计算机成绩" HeaderStyle-Width="40px">
                        <ItemTemplate>
                            <span>
                                <%# Eval("ComputerResult")%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="备   注">
                        <ItemTemplate>
                            <span></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <!--<div id="divPager"> -->
            <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
            <div class="divPrint">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="25" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
            </div>
            <div class="divPrintShow">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <td align="center">
                            第&nbsp;<asp:Label ID="labCurrentPage" runat="server"></asp:Label>&nbsp;页,共&nbsp;<asp:Label ID="labTotlePage" runat="server"></asp:Label>&nbsp;页，每页显示<asp:Label ID="labRecord" runat="server"></asp:Label>条记录
                        </td>
                    </tr>
                    
                </table>
            </div>
            <!--</div>-->
    </center> 
    </div>
    <div id="divPrint" class="divPrint">
        <center>
                <asp:HiddenField ID="hiddenGovrenID" runat="server" />
                <asp:HiddenField ID="hiddenApplyPeriod" runat="server" />
                <asp:Button ID="butExecl" runat="server" onclick="butExecl_Click" Text="导出Excel"/>
               <%-- <input type="button" value="打 印 报 表" style="width:150px;" onclick="javascript:void(ShowReportPager());"/>--%>
        </center>
    </div>
    </form>
</body>
</html>
